<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <%- include common %>
</head>
<body>
    <%- include('head', {title: 'register', username: ''}) %>

    <div class="container-fluid">
        <div class="container">
            <h3 class="text-primary">立即注册</h3>

            <div class="row">
                <div class="col-md-4 col-sm-6 col-xs-12">
                    <form method="post" action="/users/register">
                      <div class="form-group">
                        <label for="username">用户名</label>
                        <input type="text" class="form-control" name="username" id="username" placeholder="请输入用户名">
                      </div>
                      <div class="form-group">
                        <label for="phone">手机号码</label>
                        <input type="number" class="form-control" name="phone" id="phone" placeholder="请输入手机号码">
                      </div>
                      <div class="form-group">
                        <label for="password">密码</label>
                        <input type="password" class="form-control" name="password" id="password" placeholder="请输入密码">
                      </div>
                      <div class="form-group">
                        <label for="confirmPassword">确认密码</label>
                        <input type="password" class="form-control" name="confirmPassword" id="confirmPassword" placeholder="请再次输入密码">
                      </div>
                      <button type="submit" class="btn btn-primary">立即注册</button>
                      <button type="reset" class="btn btn-danger">重置</button>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <%- include foot %>
</body>
</html>